use isxdigit and apps_tohex
authorRich Salz <rsalz@openssl.org>
Wed, 29 Apr 2015 18:15:50 +0000 (14:15 -0400)
committerRich Salz <rsalz@openssl.org>
Wed, 29 Apr 2015 18:15:50 +0000 (14:15 -0400)
commit2fa45e6ee722078bc55311c66bdba1ca2fc69c28
tree5e5b00a8d117bcb9e4acee3ce614ff98100f8430
parentecf3a1fb181c08540342cceb6549e0408b32d135
use isxdigit and apps_tohex

Replace ad-hoc ascii->hex with isxdigit and new app_tohex.

Reviewed-by: Andy Polyakov <appro@openssl.org>
apps/apps.c
apps/apps.h
apps/ca.c
apps/enc.c