Ver Fonte

remove useless initialization

Francois Perrad há 7 anos atrás
pai
commit
9d9718e56b
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      src/misc/pkcs12/pkcs12_kdf.c

+ 1 - 1
src/misc/pkcs12/pkcs12_kdf.c

@@ -27,7 +27,7 @@ int pkcs12_kdf(               int   hash_id,
    unsigned int tmp, i, j, n;
    unsigned char ch;
    unsigned char D[MAXBLOCKSIZE], A[MAXBLOCKSIZE], B[MAXBLOCKSIZE];
-   unsigned char *I = NULL, *key = NULL;
+   unsigned char *I, *key;
    int err = CRYPT_ERROR;
 
    LTC_ARGCHK(pw   != NULL);