diff options
author | Nils Gillmann <ng0@n0.is> | 2018-08-05 10:00:26 +0000 |
---|---|---|
committer | Nils Gillmann <ng0@n0.is> | 2018-08-05 10:00:26 +0000 |
commit | e811856677be94017c4d2bb333830a7f743649a6 (patch) | |
tree | 1483daf2649cd4da1db8b10218c5756965839512 /lib/x509asn1.c | |
parent | cb5937f5c0669fee3f8c3d4e1f9d640f592d91fa (diff) | |
parent | eb8138405a3f747f2c236464932f72e918946f68 (diff) | |
download | gnurl-e811856677be94017c4d2bb333830a7f743649a6.tar.gz gnurl-e811856677be94017c4d2bb333830a7f743649a6.tar.bz2 gnurl-e811856677be94017c4d2bb333830a7f743649a6.zip |
Merge tag 'curl-7_61_0'
curl 7.61.0
Signed-off-by: Nils Gillmann <ng0@n0.is>
Diffstat (limited to 'lib/x509asn1.c')
-rw-r--r-- | lib/x509asn1.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/x509asn1.c b/lib/x509asn1.c index aabf6e8c7..f4f172a53 100644 --- a/lib/x509asn1.c +++ b/lib/x509asn1.c @@ -5,7 +5,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * - * Copyright (C) 1998 - 2016, Daniel Stenberg, <daniel@haxx.se>, et al. + * Copyright (C) 1998 - 2018, Daniel Stenberg, <daniel@haxx.se>, et al. * * This software is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms @@ -712,7 +712,7 @@ int Curl_parseX509(curl_X509certificate *cert, /* Get optional version, get serialNumber. */ cert->version.header = NULL; cert->version.beg = &defaultVersion; - cert->version.end = &defaultVersion + sizeof defaultVersion;; + cert->version.end = &defaultVersion + sizeof(defaultVersion); beg = Curl_getASN1Element(&elem, beg, end); if(elem.tag == 0) { Curl_getASN1Element(&cert->version, elem.beg, elem.end); |