We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 151a35e commit e367cd1Copy full SHA for e367cd1
1 file changed
tools/keytools/keygen.c
@@ -301,7 +301,7 @@ int main(int argc, char** argv)
301
fclose(f);
302
printf("** Warning: key file already exist! Are you sure you want to generate a new key and overwrite the existing key? [Type 'Yes, I am sure!']: ");
303
fflush(stdout);
304
- gets(reply);
+ scanf("%s", reply);
305
printf("Reply is [%s]\n", reply);
306
if (strcmp(reply, "Yes, I am sure!") != 0) {
307
printf("Operation aborted by user.");
0 commit comments