Changeset f450ac9 in mod_gnutls for src/gnutls_ocsp.c

Timestamp:
Jun 9, 2016, 2:50:43 PM (4 years ago)
Author:
Thomas Klute <thomas2.klute@…>
Branches:
debian/master, debian/stretch-backports, master, upstream
Children:
70a1e5a
Parents:
d18afb8
git-author:
Thomas Klute <thomas2.klute@…> (06/09/16 14:36:10)
git-committer:
Thomas Klute <thomas2.klute@…> (06/09/16 14:50:43)
Message:

Replace mgs_session_id2sz() with apr_(p?)escape_hex()

There's no need to carry a local bin-to-hex function if APR already
provides a converter. Using integrated pool allocation even avoids a
few string copies in gnutls_hooks.c.

The session hex buffers in gnutls_cache.c don't need room for the
memcache tag because it is added in a apr_psprintf() call if
necessary, so we can save a few bytes of stack space there.

(No files)

Note: See TracChangeset for help on using the changeset viewer.