diff options
author | 2015-12-12 21:02:59 +0000 | |
---|---|---|
committer | 2015-12-12 21:02:59 +0000 | |
commit | e9d68136af9fadd999cc705a188d0d661b504656 (patch) | |
tree | c44981692e0324f23bfd3b68eb73613ce697a38b /lib/libssl/src | |
parent | Remove NULL-checks before free(). ok tb@ (diff) | |
download | wireguard-openbsd-e9d68136af9fadd999cc705a188d0d661b504656.tar.xz wireguard-openbsd-e9d68136af9fadd999cc705a188d0d661b504656.zip |
make the counter a size_t as well, which quells a warning on visual studio 2015
ok bcook@
Diffstat (limited to 'lib/libssl/src')
-rw-r--r-- | lib/libssl/src/crypto/asn1/a_time_tm.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/libssl/src/crypto/asn1/a_time_tm.c b/lib/libssl/src/crypto/asn1/a_time_tm.c index 65de0d4f180..aa3cb9994cb 100644 --- a/lib/libssl/src/crypto/asn1/a_time_tm.c +++ b/lib/libssl/src/crypto/asn1/a_time_tm.c @@ -1,4 +1,4 @@ -/* $OpenBSD: a_time_tm.c,v 1.8 2015/10/22 15:38:05 jsing Exp $ */ +/* $OpenBSD: a_time_tm.c,v 1.9 2015/12/12 21:02:59 beck Exp $ */ /* * Copyright (c) 2015 Bob Beck <beck@openbsd.org> * @@ -132,7 +132,8 @@ rfc5280_string_from_tm(struct tm *tm) int asn1_time_parse(const char *bytes, size_t len, struct tm *tm, int mode) { - int i, type = 0; + size_t i; + int type = 0; struct tm ltm; struct tm *lt; const char *p; |