diff options
| author | tb <> | 2022-01-10 00:09:06 +0000 |
|---|---|---|
| committer | tb <> | 2022-01-10 00:09:06 +0000 |
| commit | be9e6959fcd7a339f12f1570a179ccf30f61d5fe (patch) | |
| tree | 3fb6fae249dd91de635ee7daa2cbc85de7c8e57d /src | |
| parent | 7ca5a7aaa49e29b98846195b536e53a1a1499b53 (diff) | |
| download | openbsd-be9e6959fcd7a339f12f1570a179ccf30f61d5fe.tar.gz openbsd-be9e6959fcd7a339f12f1570a179ccf30f61d5fe.tar.bz2 openbsd-be9e6959fcd7a339f12f1570a179ccf30f61d5fe.zip | |
zap trailing whitespace
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib/libcrypto/dh/dh_ameth.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/lib/libcrypto/dh/dh_ameth.c b/src/lib/libcrypto/dh/dh_ameth.c index fc71bac7bb..bbb687da8b 100644 --- a/src/lib/libcrypto/dh/dh_ameth.c +++ b/src/lib/libcrypto/dh/dh_ameth.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: dh_ameth.c,v 1.20 2022/01/07 09:27:13 tb Exp $ */ | 1 | /* $OpenBSD: dh_ameth.c,v 1.21 2022/01/10 00:09:06 tb Exp $ */ |
| 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
| 3 | * project 2006. | 3 | * project 2006. |
| 4 | */ | 4 | */ |
| @@ -10,7 +10,7 @@ | |||
| 10 | * are met: | 10 | * are met: |
| 11 | * | 11 | * |
| 12 | * 1. Redistributions of source code must retain the above copyright | 12 | * 1. Redistributions of source code must retain the above copyright |
| 13 | * notice, this list of conditions and the following disclaimer. | 13 | * notice, this list of conditions and the following disclaimer. |
| 14 | * | 14 | * |
| 15 | * 2. Redistributions in binary form must reproduce the above copyright | 15 | * 2. Redistributions in binary form must reproduce the above copyright |
| 16 | * notice, this list of conditions and the following disclaimer in | 16 | * notice, this list of conditions and the following disclaimer in |
| @@ -95,7 +95,7 @@ dh_pub_decode(EVP_PKEY *pkey, X509_PUBKEY *pubkey) | |||
| 95 | goto err; | 95 | goto err; |
| 96 | } | 96 | } |
| 97 | 97 | ||
| 98 | pstr = pval; | 98 | pstr = pval; |
| 99 | pm = pstr->data; | 99 | pm = pstr->data; |
| 100 | pmlen = pstr->length; | 100 | pmlen = pstr->length; |
| 101 | 101 | ||
| @@ -180,7 +180,7 @@ err: | |||
| 180 | * that the AlgorithmIdentifier contains the paramaters, the private key | 180 | * that the AlgorithmIdentifier contains the paramaters, the private key |
| 181 | * is explcitly included and the pubkey must be recalculated. | 181 | * is explcitly included and the pubkey must be recalculated. |
| 182 | */ | 182 | */ |
| 183 | 183 | ||
| 184 | static int | 184 | static int |
| 185 | dh_priv_decode(EVP_PKEY *pkey, const PKCS8_PRIV_KEY_INFO *p8) | 185 | dh_priv_decode(EVP_PKEY *pkey, const PKCS8_PRIV_KEY_INFO *p8) |
| 186 | { | 186 | { |
| @@ -204,7 +204,7 @@ dh_priv_decode(EVP_PKEY *pkey, const PKCS8_PRIV_KEY_INFO *p8) | |||
| 204 | if (!(privkey=d2i_ASN1_INTEGER(NULL, &p, pklen))) | 204 | if (!(privkey=d2i_ASN1_INTEGER(NULL, &p, pklen))) |
| 205 | goto decerr; | 205 | goto decerr; |
| 206 | 206 | ||
| 207 | pstr = pval; | 207 | pstr = pval; |
| 208 | pm = pstr->data; | 208 | pm = pstr->data; |
| 209 | pmlen = pstr->length; | 209 | pmlen = pstr->length; |
| 210 | if (!(dh = d2i_DHparams(NULL, &pm, pmlen))) | 210 | if (!(dh = d2i_DHparams(NULL, &pm, pmlen))) |
