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 692d4d9..8c45add 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 91f7188..fc333e4 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 */