diff options
author | Bernd Edlinger <bernd.edlinger@hotmail.de> | 2017-05-11 16:21:37 +0200 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2017-05-11 19:39:38 +0200 |
commit | 018fcbec38509cd03fb0709904a382c3bfcf5ed4 (patch) | |
tree | cb03c315ac98d80e53a0662f26d69ca9d5ceafbf /crypto/pem | |
parent | Unclash clashing reason codes in ssl.h (diff) | |
download | openssl-018fcbec38509cd03fb0709904a382c3bfcf5ed4.tar.xz openssl-018fcbec38509cd03fb0709904a382c3bfcf5ed4.zip |
Fix gcc-7 warnings.
- Mostly missing fall thru comments
- And uninitialized value used in sslapitest.c
Reviewed-by: Rich Salz <rsalz@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/3440)
Diffstat (limited to 'crypto/pem')
-rw-r--r-- | crypto/pem/pvkfmt.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crypto/pem/pvkfmt.c b/crypto/pem/pvkfmt.c index 248704ec59..ebd6913ce9 100644 --- a/crypto/pem/pvkfmt.c +++ b/crypto/pem/pvkfmt.c @@ -120,6 +120,7 @@ static int do_blob_header(const unsigned char **in, unsigned int length, case MS_DSS1MAGIC: *pisdss = 1; + /* fall thru */ case MS_RSA1MAGIC: if (*pispub == 0) { PEMerr(PEM_F_DO_BLOB_HEADER, PEM_R_EXPECTING_PRIVATE_KEY_BLOB); @@ -129,6 +130,7 @@ static int do_blob_header(const unsigned char **in, unsigned int length, case MS_DSS2MAGIC: *pisdss = 1; + /* fall thru */ case MS_RSA2MAGIC: if (*pispub == 1) { PEMerr(PEM_F_DO_BLOB_HEADER, PEM_R_EXPECTING_PUBLIC_KEY_BLOB); |