summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2003-07-21 19:56:28 +0000
committerdes <des@FreeBSD.org>2003-07-21 19:56:28 +0000
commit2da157461a40e6c5e122cab8cb7b3f5109e6faec (patch)
tree0f96c2cce393e2ac4773d4b840cf8315ec57eb8d /lib
parentea4b1513870a006942e2c3ee6edf331aa4ac578e (diff)
downloadFreeBSD-src-2da157461a40e6c5e122cab8cb7b3f5109e6faec.zip
FreeBSD-src-2da157461a40e6c5e122cab8cb7b3f5109e6faec.tar.gz
Revert previous commit after fixing libpam.
Diffstat (limited to 'lib')
-rw-r--r--lib/libpam/modules/pam_radius/pam_radius.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libpam/modules/pam_radius/pam_radius.c b/lib/libpam/modules/pam_radius/pam_radius.c
index 6a30bab..229e29a 100644
--- a/lib/libpam/modules/pam_radius/pam_radius.c
+++ b/lib/libpam/modules/pam_radius/pam_radius.c
@@ -203,7 +203,7 @@ do_challenge(pam_handle_t *pamh, struct rad_handle *radh, const char *user)
free(resp[num_msgs-1].resp);
free(resp);
while (num_msgs > 0)
- free(__DECONST(char *, msgs[--num_msgs].msg));
+ free(msgs[--num_msgs].msg);
return (PAM_SUCCESS);
}
OpenPOWER on IntegriCloud