summaryrefslogtreecommitdiff
path: root/asn1
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2014-09-16 11:25:17 -0400
committerBill Meier <wmeier@newsguy.com>2014-09-16 15:31:58 +0000
commita379ac74d27a094cd89b0fc0f5196c46052f5a9f (patch)
tree662a038427bf7c82167703e4a3838a87dda0400b /asn1
parentb14bf98c06dbf1324c63dee633a025d251391601 (diff)
downloadwireshark-a379ac74d27a094cd89b0fc0f5196c46052f5a9f.tar.gz
Fix spelling: cant-->can't, wont-->won't, etc
Change-Id: Ia6c3e7a25615bf8e052c3bacf096d76df775c9c2 Reviewed-on: https://code.wireshark.org/review/4126 Reviewed-by: Bill Meier <wmeier@newsguy.com>
Diffstat (limited to 'asn1')
-rw-r--r--asn1/kerberos/packet-kerberos-template.c4
-rw-r--r--asn1/ldap/packet-ldap-template.c10
-rw-r--r--asn1/nbap/nbap.cnf2
-rw-r--r--asn1/ros/packet-ros-template.c4
-rw-r--r--asn1/rrc/rrc.cnf4
-rw-r--r--asn1/spnego/packet-spnego-template.c10
-rw-r--r--asn1/x509af/packet-x509af-template.c4
7 files changed, 19 insertions, 19 deletions
diff --git a/asn1/kerberos/packet-kerberos-template.c b/asn1/kerberos/packet-kerberos-template.c
index e47da5cb6b..9eb82ab37f 100644
--- a/asn1/kerberos/packet-kerberos-template.c
+++ b/asn1/kerberos/packet-kerberos-template.c
@@ -1726,7 +1726,7 @@ dissect_kerberos_common(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
/* Do some sanity checking here,
* All krb5 packets start with a TAG class that is BER_CLASS_APP
* and a tag value that is either of the values below:
- * If it doesnt look like kerberos, return 0 and let someone else have
+ * If it doesn't look like kerberos, return 0 and let someone else have
* a go at it.
*/
gint8 tmp_class;
@@ -1965,7 +1965,7 @@ void proto_register_kerberos(void) {
static ei_register_info ei[] = {
{ &ei_kerberos_decrypted_keytype, { "kerberos.decrypted_keytype", PI_SECURITY, PI_CHAT, "Decryted keytype", EXPFILL }},
- { &ei_kerberos_address, { "kerberos.address.unknown", PI_UNDECODED, PI_WARN, "KRB Address: I dont know how to parse this type of address yet", EXPFILL }},
+ { &ei_kerberos_address, { "kerberos.address.unknown", PI_UNDECODED, PI_WARN, "KRB Address: I don't know how to parse this type of address yet", EXPFILL }},
{ &ei_krb_gssapi_dlglen, { "kerberos.gssapi.dlglen.error", PI_MALFORMED, PI_ERROR, "DlgLen is not the same as number of bytes remaining", EXPFILL }},
};
diff --git a/asn1/ldap/packet-ldap-template.c b/asn1/ldap/packet-ldap-template.c
index 03d806a314..12fd428de0 100644
--- a/asn1/ldap/packet-ldap-template.c
+++ b/asn1/ldap/packet-ldap-template.c
@@ -624,7 +624,7 @@ dissect_ldap_AssertionValue(gboolean implicit_tag, tvbuff_t *tvb, int offset, as
* Special case these attributes and decode them more nicely.
*
* Add more special cases as required to prettify further
- * (there cant be that many ones that are truly interesting)
+ * (there can't be that many ones that are truly interesting)
*/
if(attributedesc_string && !strncmp("DomainSid", attributedesc_string, 9)){
tvbuff_t *sid_tvb;
@@ -680,7 +680,7 @@ dissect_ldap_AssertionValue(gboolean implicit_tag, tvbuff_t *tvb, int offset, as
* for LDAP, and using that to determine how to display
* attribute values and assertion values?
*
- * -- I dont think there are full schemas available that describe the
+ * -- I don't think there are full schemas available that describe the
* interesting cases i.e. AD -- ronnie
*/
str=tvb_get_ptr(tvb, offset, len);
@@ -814,7 +814,7 @@ ldap_match_call_response(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, gu
/* this a a request - add it to the unmatched list */
- /* check that we dont already have one of those in the
+ /* check that we don't already have one of those in the
unmatched list and if so remove it */
lcr.messageId=messageId;
@@ -822,7 +822,7 @@ ldap_match_call_response(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, gu
if(lcrp){
g_hash_table_remove(ldap_info->unmatched, lcrp);
}
- /* if we cant reuse the old one, grab a new chunk */
+ /* if we can't reuse the old one, grab a new chunk */
if(!lcrp){
lcrp=wmem_new0(wmem_file_scope(), ldap_call_response_t);
}
@@ -1829,7 +1829,7 @@ this_was_not_sasl:
/* check that length makes sense */
get_ber_length(tvb, 1, &ldap_len, &ind);
- /* dont check ind since indefinite length is never used for ldap (famous last words)*/
+ /* don't check ind since indefinite length is never used for ldap (famous last words)*/
if(ldap_len<2){
goto this_was_not_normal_ldap;
}
diff --git a/asn1/nbap/nbap.cnf b/asn1/nbap/nbap.cnf
index deed9d7774..cb023fbd09 100644
--- a/asn1/nbap/nbap.cnf
+++ b/asn1/nbap/nbap.cnf
@@ -1264,7 +1264,7 @@ BindingID_port = 0;
&null_addr, PT_UDP, BindingID_port,
0, NO_ADDR_B|NO_PORT_B);
- /* We must also check if this port is about to be overriden, if thats the case we
+ /* We must also check if this port is about to be overriden, if that's the case we
* might already have a DCH entry on this port which should be overwritten
*/
if (conversation == NULL || ((umts_fp_conversation_info_t*)conversation_get_proto_data(conversation, proto_fp))->channel == CHANNEL_DCH) {
diff --git a/asn1/ros/packet-ros-template.c b/asn1/ros/packet-ros-template.c
index cdfa73e3cb..caecb74768 100644
--- a/asn1/ros/packet-ros-template.c
+++ b/asn1/ros/packet-ros-template.c
@@ -314,7 +314,7 @@ ros_match_call_response(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, gui
if(isInvoke) {
/* this a a request - add it to the unmatched list */
- /* check that we dont already have one of those in the
+ /* check that we don't already have one of those in the
unmatched list and if so remove it */
rcr.invokeId=invokeId;
@@ -325,7 +325,7 @@ ros_match_call_response(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, gui
g_hash_table_remove(ros_info->unmatched, rcrp);
}
- /* if we cant reuse the old one, grab a new chunk */
+ /* if we can't reuse the old one, grab a new chunk */
if(!rcrp){
rcrp=wmem_new(wmem_file_scope(), ros_call_response_t);
}
diff --git a/asn1/rrc/rrc.cnf b/asn1/rrc/rrc.cnf
index f53486278e..c806644647 100644
--- a/asn1/rrc/rrc.cnf
+++ b/asn1/rrc/rrc.cnf
@@ -724,7 +724,7 @@ HNBName TYPE=FT_STRING DISPLAY=STR_UNICODE
expert_add_info(actx->pinfo, actx->created_item, &ei_rrc_no_hrnti);
}
else{
- /*If it doesnt exists, insert it*/
+ /*If it doesn't exists, insert it*/
if( (cur_val=(gint *)g_tree_lookup(hsdsch_muxed_flows, GUINT_TO_POINTER((guint)rrcinf->hrnti[actx->pinfo->fd->subnum]))) == NULL ){
flowd_p = (guint*)g_malloc0(sizeof(gint));
@@ -760,7 +760,7 @@ HNBName TYPE=FT_STRING DISPLAY=STR_UNICODE
expert_add_info(actx->pinfo, actx->created_item, &ei_rrc_no_hrnti);
}
else{
- /*If it doesnt exists, insert it*/
+ /*If it doesn't exists, insert it*/
if( (cur_val=(gint *)g_tree_lookup(hsdsch_muxed_flows, GUINT_TO_POINTER((guint)rrcinf->hrnti[actx->pinfo->fd->subnum]))) == NULL ){
flowd_p = (guint*)g_malloc0(sizeof(gint));
diff --git a/asn1/spnego/packet-spnego-template.c b/asn1/spnego/packet-spnego-template.c
index f0f80789ca..bdd0fdc365 100644
--- a/asn1/spnego/packet-spnego-template.c
+++ b/asn1/spnego/packet-spnego-template.c
@@ -544,7 +544,7 @@ decrypt_arcfour(packet_info *pinfo,
datalen -= padlen;
}
- /* dont know what the checksum looks like for dce style gssapi */
+ /* don't know what the checksum looks like for dce style gssapi */
if(pinfo->decrypt_gssapi_tvb==DECRYPT_GSSAPI_NORMAL){
ret = arcfour_mic_cksum(key_value, key_size,
KRB5_KU_USAGE_SEAL,
@@ -584,7 +584,7 @@ decrypt_gssapi_krb_arcfour_wrap(proto_tree *tree _U_, packet_info *pinfo, tvbuff
length=tvb_captured_length(pinfo->gssapi_encrypted_tvb);
original_data=tvb_get_ptr(pinfo->gssapi_encrypted_tvb, 0, length);
- /* dont do anything if we are not attempting to decrypt data */
+ /* don't do anything if we are not attempting to decrypt data */
/*
if(!krb_decrypt){
return;
@@ -694,7 +694,7 @@ decrypt_gssapi_krb_cfx_wrap(proto_tree *tree _U_,
int datalen;
tvbuff_t *next_tvb;
- /* dont do anything if we are not attempting to decrypt data */
+ /* don't do anything if we are not attempting to decrypt data */
if(!krb_decrypt){
return;
}
@@ -831,7 +831,7 @@ dissect_spnego_krb5_wrap_base(tvbuff_t *tvb, int offset, packet_info *pinfo
len=tvb_reported_length_remaining(tvb,offset);
if(len>tvb_captured_length_remaining(tvb, offset)){
/* no point in trying to decrypt,
- we dont have the full pdu.
+ we don't have the full pdu.
*/
return offset;
}
@@ -1074,7 +1074,7 @@ dissect_spnego_krb5_cfx_wrap_base(tvbuff_t *tvb, int offset, packet_info *pinfo
len=tvb_reported_length_remaining(tvb,offset);
if(len>tvb_captured_length_remaining(tvb, offset)){
/* no point in trying to decrypt,
- we dont have the full pdu.
+ we don't have the full pdu.
*/
return offset;
}
diff --git a/asn1/x509af/packet-x509af-template.c b/asn1/x509af/packet-x509af-template.c
index 8e854f5da9..bad4dee392 100644
--- a/asn1/x509af/packet-x509af-template.c
+++ b/asn1/x509af/packet-x509af-template.c
@@ -125,8 +125,8 @@ void proto_reg_handoff_x509af(void) {
#include "packet-x509af-dis-tab.c"
- /*XXX these should really go to a better place but since that
- I have not that ITU standard, ill put it here for the time
+ /*XXX these should really go to a better place but since
+ I have not that ITU standard, I'll put it here for the time
being.
Only implemented those algorithms that take no parameters
for the time being, ronnie