+6
-5
@@ -76,13 +76,14 @@ int mbedtls_aesni_has_support( unsigned int what )
|
|||||||
int found = 0;
|
int found = 0;
|
||||||
|
|
||||||
while(getline(&line, &len, fd) != -1) {
|
while(getline(&line, &len, fd) != -1) {
|
||||||
if(strstr(line, "aes")) {
|
if(strstr(line, "aes")) {
|
||||||
/* printf("FOUND %s", line); */
|
/* printf("FOUND %s", line); */
|
||||||
found = 1;
|
found = 1;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
free(line);
|
||||||
fclose(fd);
|
fclose(fd);
|
||||||
return(found);
|
return(found);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user