Changeset View
Changeset View
Standalone View
Standalone View
b/agent/call-pinentry.c
Context not available. | |||||
else | else | ||||
{ | { | ||||
percent = estimate_passphrase_quality (pin); | percent = estimate_passphrase_quality (pin); | ||||
if (check_passphrase_constraints (NULL, pin, 1)) | if (check_passphrase_constraints (NULL, pin, NULL)) | ||||
percent = -percent; | percent = -percent; | ||||
snprintf (numbuf, sizeof numbuf, "%d", percent); | snprintf (numbuf, sizeof numbuf, "%d", percent); | ||||
rc = assuan_send_data (ctx, numbuf, strlen (numbuf)); | rc = assuan_send_data (ctx, numbuf, strlen (numbuf)); | ||||
Context not available. |