Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.0
libssh
0001-libcrypto-Remove-AES_ctr128_encrypt.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0001-libcrypto-Remove-AES_ctr128_encrypt.patch of Package libssh
From d73f665edddfaa8f5a51e4c294d205f6e60a5854 Mon Sep 17 00:00:00 2001 From: Jakub Jelen <jjelen@redhat.com> Date: Wed, 2 Nov 2016 16:20:46 +0100 Subject: [PATCH] libcrypto: Remove AES_ctr128_encrypt() This is for OpenSSL 1.1.0. Signed-off-by: Jakub Jelen <jjelen@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org> --- src/libcrypto.c | 4 ++++ 1 file changed, 4 insertions(+) Index: libssh-0.7.5/src/libcrypto.c =================================================================== --- libssh-0.7.5.orig/src/libcrypto.c 2017-08-22 09:33:23.362303166 +0200 +++ libssh-0.7.5/src/libcrypto.c 2017-08-22 09:34:19.763181332 +0200 @@ -455,7 +455,11 @@ static void aes_ctr128_encrypt(struct ss * Same for num, which is being used to store the current offset in blocksize in CTR * function. */ +# if OPENSSL_VERSION_NUMBER >= 0x10100000L + CRYPTO_ctr128_encrypt(in, out, len, &cipher->aes_key->key, cipher->aes_key->IV, tmp_buffer, &num, (block128_f)AES_encrypt); +# else AES_ctr128_encrypt(in, out, len, cipher->key, cipher->IV, tmp_buffer, &num); +# endif /* OPENSSL_VERSION_NUMBER >= 0x10100000L */ } #endif /* BROKEN_AES_CTR */ #endif /* HAS_AES */
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor