From 9a104483e2bc4672e5075a2df8560c8a04e2e09a Mon Sep 17 00:00:00 2001 From: jsing <> Date: Fri, 16 Oct 2015 15:09:28 +0000 Subject: Remove pointless uses of DECLARE_ASN1_ENCODE_FUNCTIONS_const. DECLARE_ASN1_FUNCTIONS_const already includes this macro so using both means we end up with duplicate function prototypes and externs. --- src/lib/libcrypto/asn1/n_pkey.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/lib/libcrypto/asn1/n_pkey.c') diff --git a/src/lib/libcrypto/asn1/n_pkey.c b/src/lib/libcrypto/asn1/n_pkey.c index 491f988e92..664d39216b 100644 --- a/src/lib/libcrypto/asn1/n_pkey.c +++ b/src/lib/libcrypto/asn1/n_pkey.c @@ -1,4 +1,4 @@ -/* $OpenBSD: n_pkey.c,v 1.27 2015/09/10 15:56:24 jsing Exp $ */ +/* $OpenBSD: n_pkey.c,v 1.28 2015/10/16 15:09:28 jsing Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -114,7 +114,6 @@ const ASN1_ITEM NETSCAPE_ENCRYPTED_PKEY_it = { }; DECLARE_ASN1_FUNCTIONS_const(NETSCAPE_ENCRYPTED_PKEY) -DECLARE_ASN1_ENCODE_FUNCTIONS_const(NETSCAPE_ENCRYPTED_PKEY, NETSCAPE_ENCRYPTED_PKEY) NETSCAPE_ENCRYPTED_PKEY * d2i_NETSCAPE_ENCRYPTED_PKEY(NETSCAPE_ENCRYPTED_PKEY **a, const unsigned char **in, long len) @@ -169,7 +168,6 @@ const ASN1_ITEM NETSCAPE_PKEY_it = { }; DECLARE_ASN1_FUNCTIONS_const(NETSCAPE_PKEY) -DECLARE_ASN1_ENCODE_FUNCTIONS_const(NETSCAPE_PKEY, NETSCAPE_PKEY) NETSCAPE_PKEY * d2i_NETSCAPE_PKEY(NETSCAPE_PKEY **a, const unsigned char **in, long len) -- cgit v1.2.3-55-g6feb