diff options
| author | miod <> | 2014-05-24 15:17:06 +0000 |
|---|---|---|
| committer | miod <> | 2014-05-24 15:17:06 +0000 |
| commit | a97aa166153b5cc46ce3e1362e35b93a5e7405fb (patch) | |
| tree | 090b7da0d7e8fa67dbe4bd42f95b59d0b2e4e8a2 /src/lib/libssl/t1_enc.c | |
| parent | 033374e75881187633e784adb36733a789f16020 (diff) | |
| download | openbsd-a97aa166153b5cc46ce3e1362e35b93a5e7405fb.tar.gz openbsd-a97aa166153b5cc46ce3e1362e35b93a5e7405fb.tar.bz2 openbsd-a97aa166153b5cc46ce3e1362e35b93a5e7405fb.zip | |
Invoke OPENSSL_cleanse() with the size of the variable you are cleaning.
ok jsing@
Diffstat (limited to '')
| -rw-r--r-- | src/lib/libssl/t1_enc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/libssl/t1_enc.c b/src/lib/libssl/t1_enc.c index 5a95fd2744..2599122078 100644 --- a/src/lib/libssl/t1_enc.c +++ b/src/lib/libssl/t1_enc.c | |||
| @@ -510,7 +510,7 @@ tls1_change_cipher_state(SSL *s, int which) | |||
| 510 | #endif | 510 | #endif |
| 511 | 511 | ||
| 512 | OPENSSL_cleanse(tmp1, sizeof(tmp1)); | 512 | OPENSSL_cleanse(tmp1, sizeof(tmp1)); |
| 513 | OPENSSL_cleanse(tmp2, sizeof(tmp1)); | 513 | OPENSSL_cleanse(tmp2, sizeof(tmp2)); |
| 514 | OPENSSL_cleanse(iv1, sizeof(iv1)); | 514 | OPENSSL_cleanse(iv1, sizeof(iv1)); |
| 515 | OPENSSL_cleanse(iv2, sizeof(iv2)); | 515 | OPENSSL_cleanse(iv2, sizeof(iv2)); |
| 516 | return (1); | 516 | return (1); |
