summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/asn1/a_bool.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/asn1/a_bool.c')
-rw-r--r--src/lib/libcrypto/asn1/a_bool.c15
1 files changed, 3 insertions, 12 deletions
diff --git a/src/lib/libcrypto/asn1/a_bool.c b/src/lib/libcrypto/asn1/a_bool.c
index 41a95aa278..18fa61840b 100644
--- a/src/lib/libcrypto/asn1/a_bool.c
+++ b/src/lib/libcrypto/asn1/a_bool.c
@@ -58,15 +58,9 @@
58 58
59#include <stdio.h> 59#include <stdio.h>
60#include "cryptlib.h" 60#include "cryptlib.h"
61#include "asn1.h" 61#include <openssl/asn1.h>
62 62
63/* ASN1err(ASN1_F_D2I_ASN1_BOOLEAN,ASN1_R_EXPECTING_A_BOOLEAN); 63int i2d_ASN1_BOOLEAN(int a, unsigned char **pp)
64 * ASN1err(ASN1_F_D2I_ASN1_BOOLEAN,ASN1_R_BOOLEAN_IS_WRONG_LENGTH);
65 */
66
67int i2d_ASN1_BOOLEAN(a,pp)
68int a;
69unsigned char **pp;
70 { 64 {
71 int r; 65 int r;
72 unsigned char *p; 66 unsigned char *p;
@@ -81,10 +75,7 @@ unsigned char **pp;
81 return(r); 75 return(r);
82 } 76 }
83 77
84int d2i_ASN1_BOOLEAN(a, pp, length) 78int d2i_ASN1_BOOLEAN(int *a, unsigned char **pp, long length)
85int *a;
86unsigned char **pp;
87long length;
88 { 79 {
89 int ret= -1; 80 int ret= -1;
90 unsigned char *p; 81 unsigned char *p;