diff options
Diffstat (limited to 'src/lib/libcrypto/asn1/x_pubkey.c')
| -rw-r--r-- | src/lib/libcrypto/asn1/x_pubkey.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/src/lib/libcrypto/asn1/x_pubkey.c b/src/lib/libcrypto/asn1/x_pubkey.c index 55084182cc..3bdbb5a536 100644 --- a/src/lib/libcrypto/asn1/x_pubkey.c +++ b/src/lib/libcrypto/asn1/x_pubkey.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: x_pubkey.c,v 1.24 2015/02/11 03:39:51 jsing Exp $ */ | 1 | /* $OpenBSD: x_pubkey.c,v 1.25 2015/02/11 04:00:39 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 | * |
| @@ -85,24 +85,15 @@ pubkey_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, void *exarg) | |||
| 85 | } | 85 | } |
| 86 | 86 | ||
| 87 | static const ASN1_AUX X509_PUBKEY_aux = { | 87 | static const ASN1_AUX X509_PUBKEY_aux = { |
| 88 | .app_data = NULL, | ||
| 89 | .flags = 0, | ||
| 90 | .ref_offset = 0, | ||
| 91 | .ref_lock = 0, | ||
| 92 | .asn1_cb = pubkey_cb, | 88 | .asn1_cb = pubkey_cb, |
| 93 | .enc_offset = 0, | ||
| 94 | }; | 89 | }; |
| 95 | static const ASN1_TEMPLATE X509_PUBKEY_seq_tt[] = { | 90 | static const ASN1_TEMPLATE X509_PUBKEY_seq_tt[] = { |
| 96 | { | 91 | { |
| 97 | .flags = 0, | ||
| 98 | .tag = 0, | ||
| 99 | .offset = offsetof(X509_PUBKEY, algor), | 92 | .offset = offsetof(X509_PUBKEY, algor), |
| 100 | .field_name = "algor", | 93 | .field_name = "algor", |
| 101 | .item = &X509_ALGOR_it, | 94 | .item = &X509_ALGOR_it, |
| 102 | }, | 95 | }, |
| 103 | { | 96 | { |
| 104 | .flags = 0, | ||
| 105 | .tag = 0, | ||
| 106 | .offset = offsetof(X509_PUBKEY, public_key), | 97 | .offset = offsetof(X509_PUBKEY, public_key), |
| 107 | .field_name = "public_key", | 98 | .field_name = "public_key", |
| 108 | .item = &ASN1_BIT_STRING_it, | 99 | .item = &ASN1_BIT_STRING_it, |
