Page MenuHome GnuPG

dirmngr,w32: Fix ldap crl read on windows
ClosedPublic

Authored by aheinecke on Apr 26 2017, 9:49 AM.

Details

Summary
  • dirmngr/ldap-wrapper-ce.c (outstream_cookie_s): Add buffer_read_pos.

(buffer_get_data): Use seperate read pos.

Using a single buffer pos for reading and writing caused the read
to return 0 as it read from the end of the buffer. Now we use
a seperate reader position.

Test Plan

Tested it with my certificate and gpgsm --with-validation -k

Diff Detail

Repository
rG GnuPG
Branch
master
Lint
No Linters Available
Unit
No Unit Test Coverage