~ubuntu-branches/ubuntu/feisty/freeradius/feisty-security

« back to all changes in this revision

Viewing changes to src/modules/rlm_eap/types/rlm_eap_md5/eap_md5.c

  • Committer: Bazaar Package Importer
  • Author(s): Mark Hymers
  • Date: 2006-12-16 20:45:11 UTC
  • mfrom: (3.1.10 feisty)
  • Revision ID: james.westby@ubuntu.com-20061216204511-3pbbsu4s8jtehsor
Tags: 1.1.3-3
Fix POSIX compliance problem in init script.  Closes: #403384. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
2
 * eap_md5.c  EAP MD5 functionality.
3
3
 *
4
 
 * Version:     $Id: eap_md5.c,v 1.10 2004/02/26 19:04:30 aland Exp $
 
4
 * Version:     $Id: eap_md5.c,v 1.10.2.1 2005/08/24 14:23:11 nbk Exp $
5
5
 *
6
6
 *   This program is free software; you can redistribute it and/or modify
7
7
 *   it under the terms of the GNU General Public License as published by
222
222
                eap_ds->request->type.type = PW_EAP_MD5;
223
223
 
224
224
                rad_assert(reply->length > 0);
225
 
                rad_assert(reply->value_size < 256);
226
225
 
227
226
                eap_ds->request->type.data = malloc(reply->length);
228
227
                if (eap_ds->request->type.data == NULL) {