diff options
author | 2015-10-02 15:04:45 +0000 | |
---|---|---|
committer | 2015-10-02 15:04:45 +0000 | |
commit | e385ad8f89b4825c9968181e66dd3854fc486a05 (patch) | |
tree | fd19c10023f0332ab33ffc4b3b37670e9dce7051 /lib/libcrypto/crypto | |
parent | s/ssl3_client_kex/ssl3_send_client_kex/ for consistency with the caller. (diff) | |
download | wireguard-openbsd-e385ad8f89b4825c9968181e66dd3854fc486a05.tar.xz wireguard-openbsd-e385ad8f89b4825c9968181e66dd3854fc486a05.zip |
Flense the greasy black guts of unreadble string parsing code out of three areas
in asn1 and x509 code, all dealing with an ASN1_TIME. This brings the parsing
together in one function that converts into a struct tm. While we are at it this
also brings us into conformance with RFC 5280 for times allowed in an X509 cert,
as OpenSSL is very liberal with what it allows.
input and fixes from deraadt@ jsing@ guethther@ and others.
ok krw@, guenther@, jsing@
Diffstat (limited to 'lib/libcrypto/crypto')
-rw-r--r-- | lib/libcrypto/crypto/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libcrypto/crypto/Makefile b/lib/libcrypto/crypto/Makefile index 9a58b30627a..64ee7745189 100644 --- a/lib/libcrypto/crypto/Makefile +++ b/lib/libcrypto/crypto/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.65 2015/09/14 01:45:03 doug Exp $ +# $OpenBSD: Makefile,v 1.66 2015/10/02 15:04:45 beck Exp $ LIB= crypto @@ -49,6 +49,7 @@ SRCS+= f_enum.c x_pkey.c a_bool.c x_exten.c bio_asn1.c bio_ndef.c asn_mime.c SRCS+= asn1_gen.c asn1_par.c asn1_lib.c asn1_err.c a_bytes.c a_strnid.c SRCS+= evp_asn1.c asn_pack.c p5_pbe.c p5_pbev2.c p8_pkey.c asn_moid.c SRCS+= a_set.c +SRCS+= a_time_tm.c # bf/ SRCS+= bf_skey.c bf_ecb.c bf_cfb64.c bf_ofb64.c |