Change the DRBG HASH implementation to lookup all allowed algorithm names
[openssl.git] / crypto / asn1 / i2d_pu.c
index ff152822027aff5ef0731254e35b2e51f5660c07..8195dda881345dd7d7a1788388d148aea75259d7 100644 (file)
@@ -16,7 +16,7 @@
 #include <openssl/dsa.h>
 #include <openssl/ec.h>
 
-int i2d_PublicKey(EVP_PKEY *a, unsigned char **pp)
+int i2d_PublicKey(const EVP_PKEY *a, unsigned char **pp)
 {
     switch (EVP_PKEY_id(a)) {
 #ifndef OPENSSL_NO_RSA