#!/bin/sh

# display.ck

result=`diff -I "PRIVATE KEY" display.out display.save 2>/dev/null |wc -l`

if [ "$result" = "30" ]; then
    return 0
else
    return 1
fi


# ignore many sets of
#5,7c5,7
#<     Not before: 2013-05-06 18:40:31 PST [1367894431]
#<     Not after:  2016-04-20 18:40:31 PST [1461206431]
#< 11979:error:0906D06C:PEM routines:PEM_read_bio:no start line:pem_lib.c:650:Expecting: CERTIFICATE
#---
#>     Not before: 2013-05-06 18:39:25 PST [1367894365]
#>     Not after:  2016-04-20 18:39:25 PST [1461206365]
#> 11951:error:0906D06C:PEM routines:PEM_read_bio:no start line:pem_lib.c:650:Expecting: CERTIFICATE
#
