git-svn-id: http://svn.eurecom.fr/openair4G/trunk@5303 818b1a75-f10b-46b9-bf7c-635c3b92a50f
This commit is contained in:
@@ -30,7 +30,7 @@ int stream_encrypt_eea0(stream_cipher_t *stream_cipher, uint8_t **out)
|
|||||||
byte_length = (stream_cipher->blength + 7) >> 3;
|
byte_length = (stream_cipher->blength + 7) >> 3;
|
||||||
|
|
||||||
if (*out == NULL) {
|
if (*out == NULL) {
|
||||||
/* User provided output buffer */
|
/* User did not provide output buffer */
|
||||||
data = malloc(byte_length);
|
data = malloc(byte_length);
|
||||||
*out = data;
|
*out = data;
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user