diff options
author | jsing <> | 2015-10-16 15:09:28 +0000 |
---|---|---|
committer | jsing <> | 2015-10-16 15:09:28 +0000 |
commit | 347b8ec58659d39fe107b7425448fc5de0eeab85 (patch) | |
tree | d1b6e417f9a8275632216d4ce722a7a10f9eb92d /src/lib/libcrypto/asn1/n_pkey.c | |
parent | a257720ff1fc941f32aec3258685e6ae8d66fb92 (diff) | |
download | openbsd-347b8ec58659d39fe107b7425448fc5de0eeab85.tar.gz openbsd-347b8ec58659d39fe107b7425448fc5de0eeab85.tar.bz2 openbsd-347b8ec58659d39fe107b7425448fc5de0eeab85.zip |
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.
Diffstat (limited to 'src/lib/libcrypto/asn1/n_pkey.c')
-rw-r--r-- | src/lib/libcrypto/asn1/n_pkey.c | 4 |
1 files changed, 1 insertions, 3 deletions
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 @@ | |||
1 | /* $OpenBSD: n_pkey.c,v 1.27 2015/09/10 15:56:24 jsing Exp $ */ | 1 | /* $OpenBSD: n_pkey.c,v 1.28 2015/10/16 15:09:28 jsing Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -114,7 +114,6 @@ const ASN1_ITEM NETSCAPE_ENCRYPTED_PKEY_it = { | |||
114 | }; | 114 | }; |
115 | 115 | ||
116 | DECLARE_ASN1_FUNCTIONS_const(NETSCAPE_ENCRYPTED_PKEY) | 116 | DECLARE_ASN1_FUNCTIONS_const(NETSCAPE_ENCRYPTED_PKEY) |
117 | DECLARE_ASN1_ENCODE_FUNCTIONS_const(NETSCAPE_ENCRYPTED_PKEY, NETSCAPE_ENCRYPTED_PKEY) | ||
118 | 117 | ||
119 | NETSCAPE_ENCRYPTED_PKEY * | 118 | NETSCAPE_ENCRYPTED_PKEY * |
120 | d2i_NETSCAPE_ENCRYPTED_PKEY(NETSCAPE_ENCRYPTED_PKEY **a, const unsigned char **in, long len) | 119 | d2i_NETSCAPE_ENCRYPTED_PKEY(NETSCAPE_ENCRYPTED_PKEY **a, const unsigned char **in, long len) |
@@ -169,7 +168,6 @@ const ASN1_ITEM NETSCAPE_PKEY_it = { | |||
169 | }; | 168 | }; |
170 | 169 | ||
171 | DECLARE_ASN1_FUNCTIONS_const(NETSCAPE_PKEY) | 170 | DECLARE_ASN1_FUNCTIONS_const(NETSCAPE_PKEY) |
172 | DECLARE_ASN1_ENCODE_FUNCTIONS_const(NETSCAPE_PKEY, NETSCAPE_PKEY) | ||
173 | 171 | ||
174 | NETSCAPE_PKEY * | 172 | NETSCAPE_PKEY * |
175 | d2i_NETSCAPE_PKEY(NETSCAPE_PKEY **a, const unsigned char **in, long len) | 173 | d2i_NETSCAPE_PKEY(NETSCAPE_PKEY **a, const unsigned char **in, long len) |