diff options
Diffstat (limited to 'src/lib/libcrypto/asn1/a_strex.c')
-rw-r--r-- | src/lib/libcrypto/asn1/a_strex.c | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/src/lib/libcrypto/asn1/a_strex.c b/src/lib/libcrypto/asn1/a_strex.c index b592c0e18a..f60a70d94d 100644 --- a/src/lib/libcrypto/asn1/a_strex.c +++ b/src/lib/libcrypto/asn1/a_strex.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: a_strex.c,v 1.24 2014/07/11 08:44:47 jsing Exp $ */ | 1 | /* $OpenBSD: a_strex.c,v 1.25 2015/02/07 13:19:15 doug Exp $ */ |
2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
3 | * project 2000. | 3 | * project 2000. |
4 | */ | 4 | */ |
@@ -84,20 +84,6 @@ | |||
84 | /* Three IO functions for sending data to memory, a BIO and | 84 | /* Three IO functions for sending data to memory, a BIO and |
85 | * and a FILE pointer. | 85 | * and a FILE pointer. |
86 | */ | 86 | */ |
87 | #if 0 /* never used */ | ||
88 | static int | ||
89 | send_mem_chars(void *arg, const void *buf, int len) | ||
90 | { | ||
91 | unsigned char **out = arg; | ||
92 | |||
93 | if (!out) | ||
94 | return 1; | ||
95 | memcpy(*out, buf, len); | ||
96 | *out += len; | ||
97 | return 1; | ||
98 | } | ||
99 | #endif | ||
100 | |||
101 | static int | 87 | static int |
102 | send_bio_chars(void *arg, const void *buf, int len) | 88 | send_bio_chars(void *arg, const void *buf, int len) |
103 | { | 89 | { |