pwquality.h   pwquality.h 
skipping to change at line 25 skipping to change at line 25
#define PWQ_SETTING_DIG_CREDIT 4 #define PWQ_SETTING_DIG_CREDIT 4
#define PWQ_SETTING_UP_CREDIT 5 #define PWQ_SETTING_UP_CREDIT 5
#define PWQ_SETTING_LOW_CREDIT 6 #define PWQ_SETTING_LOW_CREDIT 6
#define PWQ_SETTING_OTH_CREDIT 7 #define PWQ_SETTING_OTH_CREDIT 7
#define PWQ_SETTING_MIN_CLASS 8 #define PWQ_SETTING_MIN_CLASS 8
#define PWQ_SETTING_MAX_REPEAT 9 #define PWQ_SETTING_MAX_REPEAT 9
#define PWQ_SETTING_DICT_PATH 10 #define PWQ_SETTING_DICT_PATH 10
#define PWQ_SETTING_MAX_CLASS_REPEAT 11 #define PWQ_SETTING_MAX_CLASS_REPEAT 11
#define PWQ_SETTING_GECOS_CHECK 12 #define PWQ_SETTING_GECOS_CHECK 12
#define PWQ_SETTING_BAD_WORDS 13 #define PWQ_SETTING_BAD_WORDS 13
#define PWQ_SETTING_MAX_SEQUENCE 14
#define PWQ_MAX_ENTROPY_BITS 256 #define PWQ_MAX_ENTROPY_BITS 256
#define PWQ_MIN_ENTROPY_BITS 56 #define PWQ_MIN_ENTROPY_BITS 56
#define PWQ_MAX_ERROR_MESSAGE_LEN 256 #define PWQ_MAX_ERROR_MESSAGE_LEN 256
#define PWQ_ERROR_SUCCESS 0 /* implicit, not used in the library code */ #define PWQ_ERROR_SUCCESS 0 /* implicit, not used in the library code */
#define PWQ_ERROR_FATAL_FAILURE -1 #define PWQ_ERROR_FATAL_FAILURE -1
#define PWQ_ERROR_INTEGER -2 #define PWQ_ERROR_INTEGER -2
#define PWQ_ERROR_CFGFILE_OPEN -3 #define PWQ_ERROR_CFGFILE_OPEN -3
skipping to change at line 60 skipping to change at line 61
#define PWQ_ERROR_MAX_CONSECUTIVE -19 #define PWQ_ERROR_MAX_CONSECUTIVE -19
#define PWQ_ERROR_EMPTY_PASSWORD -20 #define PWQ_ERROR_EMPTY_PASSWORD -20
#define PWQ_ERROR_SAME_PASSWORD -21 #define PWQ_ERROR_SAME_PASSWORD -21
#define PWQ_ERROR_CRACKLIB_CHECK -22 #define PWQ_ERROR_CRACKLIB_CHECK -22
#define PWQ_ERROR_RNG -23 #define PWQ_ERROR_RNG -23
#define PWQ_ERROR_GENERATION_FAILED -24 #define PWQ_ERROR_GENERATION_FAILED -24
#define PWQ_ERROR_USER_CHECK -25 #define PWQ_ERROR_USER_CHECK -25
#define PWQ_ERROR_GECOS_CHECK -26 #define PWQ_ERROR_GECOS_CHECK -26
#define PWQ_ERROR_MAX_CLASS_REPEAT -27 #define PWQ_ERROR_MAX_CLASS_REPEAT -27
#define PWQ_ERROR_BAD_WORDS -28 #define PWQ_ERROR_BAD_WORDS -28
#define PWQ_ERROR_MAX_SEQUENCE -29
typedef struct pwquality_settings pwquality_settings_t; typedef struct pwquality_settings pwquality_settings_t;
/* Return default pwquality settings to be used in other library calls. */ /* Return default pwquality settings to be used in other library calls. */
pwquality_settings_t * pwquality_settings_t *
pwquality_default_settings(void); pwquality_default_settings(void);
/* Free pwquality settings data. */ /* Free pwquality settings data. */
void void
pwquality_free_settings(pwquality_settings_t *pwq); pwquality_free_settings(pwquality_settings_t *pwq);
skipping to change at line 150 skipping to change at line 152
* notice, and the entire permission notice in its entirety, * notice, and the entire permission notice in its entirety,
* including the disclaimer of warranties. * including the disclaimer of warranties.
* 2. Redistributions in binary form must reproduce the above copyright * 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the * notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution. * documentation and/or other materials provided with the distribution.
* 3. The name of the author may not be used to endorse or promote * 3. The name of the author may not be used to endorse or promote
* products derived from this software without specific prior * products derived from this software without specific prior
* written permission. * written permission.
* *
* ALTERNATIVELY, this product may be distributed under the terms of * ALTERNATIVELY, this product may be distributed under the terms of
* the GNU Public License, in which case the provisions of the GPL are * the GNU General Public License version 2 or later, in which case the
* required INSTEAD OF the above restrictions. (This clause is * provisions of the GPL are required INSTEAD OF the above restrictions.
* necessary due to a potential bad interaction between the GPL and
* the restrictions contained in a BSD-style copyright.)
* *
* THIS SOFTWARE IS PROVIDED `AS IS'' AND ANY EXPRESS OR IMPLIED * THIS SOFTWARE IS PROVIDED `AS IS'' AND ANY EXPRESS OR IMPLIED
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, * DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT,
* INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
* STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
 End of changes. 3 change blocks. 
4 lines changed or deleted 4 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/