From 54eb375ff14e2a93cea70eab35719be4d25f51ca Mon Sep 17 00:00:00 2001 From: Daniel Kahn Gillmor Date: Wed, 24 Oct 2018 15:56:18 -0400 Subject: all: fix spelling and typos Signed-off-by: Daniel Kahn Gillmor --- common/openpgp-oid.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'common/openpgp-oid.c') diff --git a/common/openpgp-oid.c b/common/openpgp-oid.c index d800e7d57..86885e0aa 100644 --- a/common/openpgp-oid.c +++ b/common/openpgp-oid.c @@ -184,7 +184,7 @@ openpgp_oid_from_str (const char *string, gcry_mpi_t *r_mpi) } -/* Return a malloced string represenation of the OID in the opaque MPI +/* Return a malloced string representation of the OID in the opaque MPI A. In case of an error NULL is returned and ERRNO is set. */ char * openpgp_oid_to_str (gcry_mpi_t a) @@ -221,7 +221,7 @@ openpgp_oid_to_str (gcry_mpi_t a) /* To calculate the length of the string we can safely assume an upper limit of 3 decimal characters per byte. Two extra bytes - account for the special first octect */ + account for the special first octet */ string = p = xtrymalloc (length*(1+3)+2+1); if (!string) return NULL; -- cgit v1.2.3