Hello folks,

Building openssl (openssl-0.9.7-stable-SNAP-20020528) with debug
for linux, I get some warnings (that turned into errors)
about some missing prototypes.

Bye

Goetz

-- 
Goetz Babin-Ebell, TC TrustCenter AG, http://www.trustcenter.de
Sonninstr. 24-28, 20097 Hamburg, Germany
Tel.: +49-(0)40 80 80 26 -0,  Fax: +49-(0)40 80 80 26 -126
Index: apps/apps.c
===================================================================
RCS file: /usr/cvsroot/openssl/apps/apps.c,v
retrieving revision 1.5
diff -c -r1.5 apps.c
*** apps/apps.c 2002/05/29 15:59:54     1.5
--- apps/apps.c 2002/06/07 14:49:37
***************
*** 1256,1262 ****
  }
  
  /* Try to load an engine in a shareable library */
! ENGINE *try_load_engine(BIO *err, const char *engine, int debug)
        {
        ENGINE *e = ENGINE_by_id("dynamic");
        if (e)
--- 1256,1262 ----
  }
  
  /* Try to load an engine in a shareable library */
! static ENGINE *try_load_engine(BIO *err, const char *engine, int debug)
        {
        ENGINE *e = ENGINE_by_id("dynamic");
        if (e)
Index: apps/apps.h
===================================================================
RCS file: /usr/cvsroot/openssl/apps/apps.h,v
retrieving revision 1.5
diff -c -r1.5 apps.h
*** apps/apps.h 2002/05/29 15:59:54     1.5
--- apps/apps.h 2002/06/07 14:49:37
***************
*** 135,141 ****
                                         * destroyed! */
  
  #ifdef OPENSSL_NO_STDIO
! BIO_METHOD *BIO_s_file();
  #endif
  
  #ifdef OPENSSL_SYS_WIN32
--- 135,141 ----
                                         * destroyed! */
  
  #ifdef OPENSSL_NO_STDIO
! BIO_METHOD *BIO_s_file(void);
  #endif
  
  #ifdef OPENSSL_SYS_WIN32
***************
*** 217,224 ****
  int password_callback(char *buf, int bufsiz, int verify,
        PW_CB_DATA *cb_data);
  
! int setup_ui_method();
! void destroy_ui_method();
  
  int should_retry(int i);
  int args_from_file(char *file, int *argc, char **argv[]);
--- 217,224 ----
  int password_callback(char *buf, int bufsiz, int verify,
        PW_CB_DATA *cb_data);
  
! int setup_ui_method(void);
! void destroy_ui_method(void);
  
  int should_retry(int i);
  int args_from_file(char *file, int *argc, char **argv[]);
Index: apps/enc.c
===================================================================
RCS file: /usr/cvsroot/openssl/apps/enc.c,v
retrieving revision 1.5
diff -c -r1.5 enc.c
*** apps/enc.c  2002/05/29 15:59:54     1.5
--- apps/enc.c  2002/06/07 14:49:37
***************
*** 78,84 ****
  #define BSIZE (8*1024)
  #define       PROG    enc_main
  
! void show_ciphers(const OBJ_NAME *name,void *bio_)
        {
        BIO *bio=bio_;
        static int n;
--- 78,84 ----
  #define BSIZE (8*1024)
  #define       PROG    enc_main
  
! static void show_ciphers(const OBJ_NAME *name,void *bio_)
        {
        BIO *bio=bio_;
        static int n;
Index: crypto/asn1/a_strex.c
===================================================================
RCS file: /usr/cvsroot/openssl/crypto/asn1/a_strex.c,v
retrieving revision 1.2
diff -c -r1.2 a_strex.c
*** crypto/asn1/a_strex.c       2002/05/29 15:59:55     1.2
--- crypto/asn1/a_strex.c       2002/06/07 14:49:37
***************
*** 77,84 ****
  /* Three IO functions for sending data to memory, a BIO and
   * and a FILE pointer.
   */
! 
! int send_mem_chars(void *arg, const void *buf, int len)
  {
        unsigned char **out = arg;
        if(!out) return 1;
--- 77,84 ----
  /* Three IO functions for sending data to memory, a BIO and
   * and a FILE pointer.
   */
! #if 0                         /* never used */
! static int send_mem_chars(void *arg, const void *buf, int len)
  {
        unsigned char **out = arg;
        if(!out) return 1;
***************
*** 86,100 ****
        *out += len;
        return 1;
  }
  
! int send_bio_chars(void *arg, const void *buf, int len)
  {
        if(!arg) return 1;
        if(BIO_write(arg, buf, len) != len) return 0;
        return 1;
  }
  
! int send_fp_chars(void *arg, const void *buf, int len)
  {
        if(!arg) return 1;
        if(fwrite(buf, 1, len, arg) != (unsigned int)len) return 0;
--- 86,101 ----
        *out += len;
        return 1;
  }
+ #endif
  
! static int send_bio_chars(void *arg, const void *buf, int len)
  {
        if(!arg) return 1;
        if(BIO_write(arg, buf, len) != len) return 0;
        return 1;
  }
  
! static int send_fp_chars(void *arg, const void *buf, int len)
  {
        if(!arg) return 1;
        if(fwrite(buf, 1, len, arg) != (unsigned int)len) return 0;
***************
*** 240,246 ****
   * #01234 format.
   */
  
! int do_dump(unsigned long lflags, char_io *io_ch, void *arg, ASN1_STRING *str)
  {
        /* Placing the ASN1_STRING in a temp ASN1_TYPE allows
         * the DER encoding to readily obtained
--- 241,247 ----
   * #01234 format.
   */
  
! static int do_dump(unsigned long lflags, char_io *io_ch, void *arg, ASN1_STRING *str)
  {
        /* Placing the ASN1_STRING in a temp ASN1_TYPE allows
         * the DER encoding to readily obtained
Index: crypto/asn1/asn1_lib.c
===================================================================
RCS file: /usr/cvsroot/openssl/crypto/asn1/asn1_lib.c,v
retrieving revision 1.7
diff -c -r1.7 asn1_lib.c
*** crypto/asn1/asn1_lib.c      2002/05/29 15:59:55     1.7
--- crypto/asn1/asn1_lib.c      2002/06/07 14:49:37
***************
*** 59,64 ****
--- 59,65 ----
  #include <stdio.h>
  #include "cryptlib.h"
  #include <openssl/asn1.h>
+ #include <openssl/asn1_mac.h>
  
  static int asn1_get_length(unsigned char **pp,int *inf,long *rl,int max);
  static void asn1_put_length(unsigned char **pp, int length);
Index: crypto/asn1/n_pkey.c
===================================================================
RCS file: /usr/cvsroot/openssl/crypto/asn1/n_pkey.c,v
retrieving revision 1.3
diff -c -r1.3 n_pkey.c
*** crypto/asn1/n_pkey.c        2002/05/29 15:59:55     1.3
--- crypto/asn1/n_pkey.c        2002/06/07 14:49:37
***************
*** 92,97 ****
--- 92,102 ----
        ASN1_SIMPLE(NETSCAPE_ENCRYPTED_PKEY, enckey, X509_SIG)
  } ASN1_BROKEN_SEQUENCE_END(NETSCAPE_ENCRYPTED_PKEY)
  
+ NETSCAPE_ENCRYPTED_PKEY *d2i_NETSCAPE_ENCRYPTED_PKEY(NETSCAPE_ENCRYPTED_PKEY **p, 
+const unsigned char **in, long len);
+ int i2d_NETSCAPE_ENCRYPTED_PKEY(const NETSCAPE_ENCRYPTED_PKEY *a, unsigned char 
+**out);
+ NETSCAPE_ENCRYPTED_PKEY *NETSCAPE_ENCRYPTED_PKEY_new(void);
+ void NETSCAPE_ENCRYPTED_PKEY_free(NETSCAPE_ENCRYPTED_PKEY *a);
+ 
  IMPLEMENT_ASN1_FUNCTIONS_const(NETSCAPE_ENCRYPTED_PKEY)
  
  ASN1_SEQUENCE(NETSCAPE_PKEY) = {
***************
*** 100,105 ****
--- 105,114 ----
        ASN1_SIMPLE(NETSCAPE_PKEY, private_key, ASN1_OCTET_STRING)
  } ASN1_SEQUENCE_END(NETSCAPE_PKEY)
  
+ NETSCAPE_PKEY *d2i_NETSCAPE_PKEY(NETSCAPE_PKEY **p, const unsigned char **in, long 
+len);
+ int i2d_NETSCAPE_PKEY(const NETSCAPE_PKEY *a, unsigned char **out);
+ NETSCAPE_PKEY *NETSCAPE_PKEY_new(void);
+ void NETSCAPE_PKEY_free(NETSCAPE_PKEY *a);
  IMPLEMENT_ASN1_FUNCTIONS_const(NETSCAPE_PKEY)
  
  static RSA *d2i_RSA_NET_2(RSA **a, ASN1_OCTET_STRING *os,
Index: crypto/asn1/tasn_typ.c
===================================================================
RCS file: /usr/cvsroot/openssl/crypto/asn1/tasn_typ.c,v
retrieving revision 1.1
diff -c -r1.1 tasn_typ.c
*** crypto/asn1/tasn_typ.c      2002/05/29 16:29:55     1.1
--- crypto/asn1/tasn_typ.c      2002/06/07 14:49:37
***************
*** 104,109 ****
--- 104,114 ----
  IMPLEMENT_ASN1_FUNCTIONS(ASN1_VISIBLESTRING)
  
  IMPLEMENT_ASN1_TYPE(ASN1_UNIVERSALSTRING)
+ ASN1_UNIVERSALSTRING *d2i_ASN1_UNIVERSALSTRING(ASN1_UNIVERSALSTRING**a, unsigned 
+char **in, long len);
+ int i2d_ASN1_UNIVERSALSTRING(ASN1_UNIVERSALSTRING *a, unsigned char **out);
+ ASN1_UNIVERSALSTRING *ASN1_UNIVERSALSTRING_new(void);
+ void ASN1_UNIVERSALSTRING_free(ASN1_UNIVERSALSTRING *a);
+ 
  IMPLEMENT_ASN1_FUNCTIONS(ASN1_UNIVERSALSTRING)
  
  IMPLEMENT_ASN1_TYPE(ASN1_BMPSTRING)
Index: crypto/conf/conf.h
===================================================================
RCS file: /usr/cvsroot/openssl/crypto/conf/conf.h,v
retrieving revision 1.4
diff -c -r1.4 conf.h
*** crypto/conf/conf.h  2002/05/29 16:00:02     1.4
--- crypto/conf/conf.h  2002/06/07 14:49:37
***************
*** 129,134 ****
--- 129,135 ----
  int CONF_dump_bio(LHASH *conf, BIO *out);
  
  void OPENSSL_config(const char *config_name);
+ void OPENSSL_no_config(void);
  
  /* New conf code.  The semantics are different from the functions above.
     If that wasn't the case, the above functions would have been replaced */
***************
*** 141,150 ****
        };
  
  CONF *NCONF_new(CONF_METHOD *meth);
! CONF_METHOD *NCONF_default();
! CONF_METHOD *NCONF_WIN32();
  #if 0 /* Just to give you an idea of what I have in mind */
! CONF_METHOD *NCONF_XML();
  #endif
  void NCONF_free(CONF *conf);
  void NCONF_free_data(CONF *conf);
--- 142,151 ----
        };
  
  CONF *NCONF_new(CONF_METHOD *meth);
! CONF_METHOD *NCONF_default(void);
! CONF_METHOD *NCONF_WIN32(void);
  #if 0 /* Just to give you an idea of what I have in mind */
! CONF_METHOD *NCONF_XML(void);
  #endif
  void NCONF_free(CONF *conf);
  void NCONF_free_data(CONF *conf);
***************
*** 176,181 ****
--- 177,183 ----
                           unsigned long flags);
  void CONF_modules_unload(int all);
  void CONF_modules_finish(void);
+ void CONF_modules_free(void);
  int CONF_module_add(const char *name, conf_init_func *ifunc,
                    conf_finish_func *ffunc);
  
Index: crypto/conf/conf_lib.c
===================================================================
RCS file: /usr/cvsroot/openssl/crypto/conf/conf_lib.c,v
retrieving revision 1.2
diff -c -r1.2 conf_lib.c
*** crypto/conf/conf_lib.c      2002/05/29 16:00:02     1.2
--- crypto/conf/conf_lib.c      2002/06/07 14:49:37
***************
*** 384,389 ****
--- 384,391 ----
  
  /* This function should be avoided */
  #undef NCONF_get_number
+ long NCONF_get_number(CONF *conf,char *group,char *name);
+ 
  long NCONF_get_number(CONF *conf,char *group,char *name)
        {
        int status;
Index: crypto/engine/eng_cnf.c
===================================================================
RCS file: /usr/cvsroot/openssl/crypto/engine/eng_cnf.c,v
retrieving revision 1.1
diff -c -r1.1 eng_cnf.c
*** crypto/engine/eng_cnf.c     2002/05/29 16:29:55     1.1
--- crypto/engine/eng_cnf.c     2002/06/07 14:49:37
***************
*** 92,98 ****
        }
        
  
! int int_engine_configure(char *name, char *value, const CONF *cnf)
        {
        int i;
        int ret = 0;
--- 92,98 ----
        }
        
  
! static int int_engine_configure(char *name, char *value, const CONF *cnf)
        {
        int i;
        int ret = 0;
Index: crypto/engine/eng_fat.c
===================================================================
RCS file: /usr/cvsroot/openssl/crypto/engine/eng_fat.c,v
retrieving revision 1.1
diff -c -r1.1 eng_fat.c
*** crypto/engine/eng_fat.c     2002/05/29 16:29:55     1.1
--- crypto/engine/eng_fat.c     2002/06/07 14:49:37
***************
*** 84,90 ****
  
  /* Set default algorithms using a string */
  
! int int_def_cb(const char *alg, int len, void *arg)
        {
        unsigned int *pflags = arg;
        if (!strncmp(alg, "ALL", len))
--- 84,90 ----
  
  /* Set default algorithms using a string */
  
! static int int_def_cb(const char *alg, int len, void *arg)
        {
        unsigned int *pflags = arg;
        if (!strncmp(alg, "ALL", len))
Index: crypto/evp/evp.h
===================================================================
RCS file: /usr/cvsroot/openssl/crypto/evp/evp.h,v
retrieving revision 1.11
diff -c -r1.11 evp.h
*** crypto/evp/evp.h    2002/05/29 16:00:04     1.11
--- crypto/evp/evp.h    2002/06/07 14:49:37
***************
*** 580,585 ****
--- 580,587 ----
  const EVP_CIPHER *EVP_enc_null(void);         /* does nothing :-) */
  #ifndef OPENSSL_NO_DES
  const EVP_CIPHER *EVP_des_ecb(void);
+ const EVP_CIPHER *EVP_des_ede_ecb(void);
+ const EVP_CIPHER *EVP_des_ede3_ecb(void);
  const EVP_CIPHER *EVP_des_ede(void);
  const EVP_CIPHER *EVP_des_ede3(void);
  const EVP_CIPHER *EVP_des_cfb(void);
***************
*** 641,654 ****
--- 643,665 ----
  #ifndef OPENSSL_NO_AES
  const EVP_CIPHER *EVP_aes_128_ecb(void);
  const EVP_CIPHER *EVP_aes_128_cbc(void);
+ const EVP_CIPHER *EVP_aes_128_cfb(void);
+ const EVP_CIPHER *EVP_aes_128_ofb(void);
  const EVP_CIPHER *EVP_aes_192_ecb(void);
  const EVP_CIPHER *EVP_aes_192_cbc(void);
+ const EVP_CIPHER *EVP_aes_192_cfb(void);
+ const EVP_CIPHER *EVP_aes_192_ofb(void);
  const EVP_CIPHER *EVP_aes_256_ecb(void);
  const EVP_CIPHER *EVP_aes_256_cbc(void);
+ const EVP_CIPHER *EVP_aes_256_cfb(void);
+ const EVP_CIPHER *EVP_aes_256_ofb(void);
  #endif
  
  void OPENSSL_add_all_algorithms_noconf(void);
  void OPENSSL_add_all_algorithms_conf(void);
+ 
+ void OpenSSL_add_all_algorithms(void);
  
  #ifdef OPENSSL_LOAD_CONF
  #define OpenSSL_add_all_algorithms() \
Index: crypto/rsa/rsa.h
===================================================================
RCS file: /usr/cvsroot/openssl/crypto/rsa/rsa.h,v
retrieving revision 1.5
diff -c -r1.5 rsa.h
*** crypto/rsa/rsa.h    2002/05/29 16:00:09     1.5
--- crypto/rsa/rsa.h    2002/06/07 14:49:37
***************
*** 276,281 ****
--- 276,284 ----
  int RSA_set_ex_data(RSA *r,int idx,void *arg);
  void *RSA_get_ex_data(const RSA *r, int idx);
  
+ RSA *RSAPublicKey_dup(RSA *rsa);
+ RSA *RSAPrivateKey_dup(RSA *rsa);
+ 
  /* BEGIN ERROR CODES */
  /* The following lines are auto generated by the script mkerr.pl. Any changes
   * made after this point may be overwritten when the script is next run.

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to