diff options
author | Robert Haas <rhaas@postgresql.org> | 2012-04-23 22:43:09 -0400 |
---|---|---|
committer | Robert Haas <rhaas@postgresql.org> | 2012-04-23 22:43:09 -0400 |
commit | 5d4b60f2f25bedee257aaf6f2f4ac77028629b87 (patch) | |
tree | f0f7fa40b63a23b10e9d03ea47f97020565a66f6 /contrib/pgcrypto | |
parent | 7ab9b2f3b79177e501a1ef90ed004cc68788abaf (diff) | |
download | postgresql-5d4b60f2f25bedee257aaf6f2f4ac77028629b87.tar.gz postgresql-5d4b60f2f25bedee257aaf6f2f4ac77028629b87.zip |
Lots of doc corrections.
Josh Kupershmidt
Diffstat (limited to 'contrib/pgcrypto')
-rw-r--r-- | contrib/pgcrypto/crypt-des.c | 2 | ||||
-rw-r--r-- | contrib/pgcrypto/imath.c | 2 | ||||
-rw-r--r-- | contrib/pgcrypto/pgp-pgsql.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/contrib/pgcrypto/crypt-des.c b/contrib/pgcrypto/crypt-des.c index 44475a1b446..cea80b55e99 100644 --- a/contrib/pgcrypto/crypt-des.c +++ b/contrib/pgcrypto/crypt-des.c @@ -711,7 +711,7 @@ px_crypt_des(const char *key, const char *setting) /* * Double check that we weren't given a short setting. If we were, the - * above code will probably have created wierd values for count and + * above code will probably have created weird values for count and * salt, but we don't really care. Just make sure the output string * doesn't have an extra NUL in it. */ diff --git a/contrib/pgcrypto/imath.c b/contrib/pgcrypto/imath.c index de240763229..3286cd9d80a 100644 --- a/contrib/pgcrypto/imath.c +++ b/contrib/pgcrypto/imath.c @@ -647,7 +647,7 @@ mp_int_add(mp_int a, mp_int b, mp_int c) /* Different signs -- subtract magnitudes, preserve sign of greater */ mp_int x, y; - int cmp = s_ucmp(a, b); /* magnitude comparision, sign ignored */ + int cmp = s_ucmp(a, b); /* magnitude comparison, sign ignored */ /* Set x to max(a, b), y to min(a, b) to simplify later code */ if (cmp >= 0) diff --git a/contrib/pgcrypto/pgp-pgsql.c b/contrib/pgcrypto/pgp-pgsql.c index c4c6b509776..d4eec03cc77 100644 --- a/contrib/pgcrypto/pgp-pgsql.c +++ b/contrib/pgcrypto/pgp-pgsql.c @@ -625,7 +625,7 @@ out: px_set_debug_handler(NULL); /* - * add successfull decryptions also into RNG + * add successful decryptions also into RNG */ add_entropy(res, key, keypsw); |