170 |
/* Return the full path (with the gpg exe name). First the registry is scanned |
/* Return the full path (with the gpg exe name). First the registry is scanned |
171 |
for the entry 'gpgProgram'. If it wasn't set, the default path is the |
for the entry 'gpgProgram'. If it wasn't set, the default path is the |
172 |
appended string 'gpg.exe' is used. */ |
appended string 'gpg.exe' is used. */ |
173 |
|
|
174 |
|
/* FIXME: Use gpgme's engine info here. */ |
175 |
char* |
char* |
176 |
get_gnupg_prog (void) |
get_gnupg_prog (void) |
177 |
{ |
{ |
360 |
gpgme_release (ctx); |
gpgme_release (ctx); |
361 |
return rc; |
return rc; |
362 |
} |
} |
363 |
|
|
364 |
|
/* FIXME: This check is wrong! */ |
365 |
if (major < *r_major || minor < *r_minor) |
if (major < *r_major || minor < *r_minor) |
366 |
rc = 1; |
rc = 1; |
367 |
else { |
else { |