The Samba-Bugzilla – Attachment 13808 Details for
Bug 13161
Syntax error in samba-4.7.1/lib/crypto/aes.c
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
'void' function should return *no* value
aes.c.patch (text/plain), 835 bytes, created by
Jura Sasek
on 2017-11-23 10:54:42 UTC
(
hide
)
Description:
'void' function should return *no* value
Filename:
MIME Type:
Creator:
Jura Sasek
Created:
2017-11-23 10:54:42 UTC
Size:
835 bytes
patch
obsolete
>--- a/lib/crypto/aes.c 2017-09-17 12:15:34.000000000 +0000 >+++ samba-4.7.1/lib/crypto/aes.c 2017-11-21 03:58:45.753212154 +0000 >@@ -251,19 +251,19 @@ > void > AES_encrypt(const unsigned char *in, unsigned char *out, const AES_KEY *key) > { >- if (has_intel_aes_instructions()) { >- return AES_encrypt_aesni(in, out, key); >- } >- return AES_encrypt_rj(in, out, key); >+ if (has_intel_aes_instructions()) >+ AES_encrypt_aesni(in, out, key); >+ else >+ AES_encrypt_rj(in, out, key); > } > > void > AES_decrypt(const unsigned char *in, unsigned char *out, const AES_KEY *key) > { >- if (has_intel_aes_instructions()) { >- return AES_decrypt_aesni(in, out, key); >- } >- return AES_decrypt_rj(in, out, key); >+ if (has_intel_aes_instructions()) >+ AES_decrypt_aesni(in, out, key); >+ else >+ AES_decrypt_rj(in, out, key); > } > > #endif /* SAMBA_RIJNDAEL */
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 13161
: 13808