Sfoglia il codice sorgente

noekeon: fix compiler warning

Steffen Jaeckel 12 anni fa
parent
commit
2addbcf315
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      src/ciphers/noekeon.c

+ 1 - 1
src/ciphers/noekeon.c

@@ -152,7 +152,7 @@ int noekeon_ecb_encrypt(const unsigned char *pt, unsigned char *ct, symmetric_ke
 {
    int err = _noekeon_ecb_encrypt(pt, ct, skey);
    burn_stack(sizeof(ulong32) * 5 + sizeof(int));
-   return CRYPT_OK;
+   return err;
 }
 #endif