~ubuntu-branches/ubuntu/trusty/libpri/trusty

« back to all changes in this revision

Viewing changes to rose_qsig_mwi.c

  • Committer: Package Import Robot
  • Author(s): Faidon Liambotis
  • Date: 2011-11-26 17:25:59 UTC
  • mfrom: (1.3.11)
  • Revision ID: package-import@ubuntu.com-20111126172559-f6c5r81fgkn0krlb
Tags: 1.4.12-1
* New upstream release. 
  - Drop patch gcc-4.6-werror, not needed anymore.
  - Adapt patch enable-gcc-optimizations.
  - Updated symbols file with (a lot of) new symbols.

Show diffs side-by-side

added added

removed removed

Lines of Context:
126
126
        }
127
127
        if (mwi_activate->timestamp_present) {
128
128
                ASN1_CALL(pos, asn1_enc_string_max(pos, end, ASN1_TYPE_GENERALIZED_TIME,
129
 
                        mwi_activate->timestamp, sizeof(mwi_activate->timestamp) - 1));
 
129
                        mwi_activate->timestamp.str, sizeof(mwi_activate->timestamp.str) - 1));
130
130
        }
131
131
        if (mwi_activate->priority_present) {
132
132
                ASN1_CALL(pos, asn1_enc_int(pos, end, ASN1_CLASS_CONTEXT_SPECIFIC | 5,
254
254
        }
255
255
        if (record->timestamp_present) {
256
256
                ASN1_CALL(pos, asn1_enc_string_max(pos, end, ASN1_TYPE_GENERALIZED_TIME,
257
 
                        record->timestamp, sizeof(record->timestamp) - 1));
 
257
                        record->timestamp.str, sizeof(record->timestamp.str) - 1));
258
258
        }
259
259
        if (record->priority_present) {
260
260
                ASN1_CALL(pos, asn1_enc_int(pos, end, ASN1_CLASS_CONTEXT_SPECIFIC | 5,
450
450
                        break;
451
451
                case ASN1_TYPE_GENERALIZED_TIME:
452
452
                        ASN1_CALL(pos, asn1_dec_string_max(ctrl, "timestamp", tag, pos, end,
453
 
                                sizeof(mwi_activate->timestamp), mwi_activate->timestamp, &str_len));
 
453
                                sizeof(mwi_activate->timestamp.str), mwi_activate->timestamp.str,
 
454
                                &str_len));
454
455
                        mwi_activate->timestamp_present = 1;
455
456
                        break;
456
457
                case ASN1_CLASS_CONTEXT_SPECIFIC | 5:
710
711
                        break;
711
712
                case ASN1_TYPE_GENERALIZED_TIME:
712
713
                        ASN1_CALL(pos, asn1_dec_string_max(ctrl, "timestamp", tag, pos, end,
713
 
                                sizeof(record->timestamp), record->timestamp, &str_len));
 
714
                                sizeof(record->timestamp.str), record->timestamp.str, &str_len));
714
715
                        record->timestamp_present = 1;
715
716
                        break;
716
717
                case ASN1_CLASS_CONTEXT_SPECIFIC | 5: