Fix two remaining prototype-related warnings
authorRalf S. Engelschall <rse@openssl.org>
Sun, 8 Aug 1999 11:25:32 +0000 (11:25 +0000)
committerRalf S. Engelschall <rse@openssl.org>
Sun, 8 Aug 1999 11:25:32 +0000 (11:25 +0000)
crypto/asn1/a_digest.c
crypto/pem/pem.h

index 692d4d9f1d6cbca073dc87c07fcf153d36a723f3..8c45add557602d517cf8f4eaa6a29b5752212458 100644 (file)
@@ -64,6 +64,7 @@
 #include "cryptlib.h"
 #include <openssl/evp.h>
 #include <openssl/buffer.h>
+#include <openssl/x509.h>
 
 int ASN1_digest(int (*i2d)(), EVP_MD *type, char *data, unsigned char *md,
             unsigned int *len)
index 91f718826a5afdc66b1e602bfc3242b744a32c40..fc333e42c8ae844179e5cd7bc924ea4e43059881 100644 (file)
@@ -564,6 +564,8 @@ DECLARE_PEM_rw(DHparams, DH)
 
 DECLARE_PEM_rw_cb(PrivateKey, EVP_PKEY)
 
+int PEM_write_bio_PKCS8PrivateKey(BIO *, EVP_PKEY *, const EVP_CIPHER *,
+                                  char *, int, pem_password_cb *, void *);
 int PEM_write_PKCS8PrivateKey(FILE *fp,EVP_PKEY *x,const EVP_CIPHER *enc,
                              char *kstr,int klen, pem_password_cb *cd, void *u);
 #endif /* SSLEAY_MACROS */